#!/bin/bash
set -e
set -x
MYDIR="${0%/*}"
cd "$MYDIR/.."
source "recipes/common.sh"


# RECIPE START bc
reset_mtime bc bc/configure
mkdir -p build/bc
cd build/bc
env \
	CC=${TARGET}-gcc \
	HOSTCC=gcc \
../../bc/configure \
	${CONFIGURE_ARGS} \
	${AUTOCRAP_KLUDGE}

cd ../..
make_build build/bc

# RECIPE END bc
